package com.gupao.javavip.concurrent.service;

import java.util.ArrayList;
import java.util.List;

public class Dao {
    public List<Data> queryData() {
        List<Data> dataList = new ArrayList<>();

        Data data = new Data();
        data.setId(System.currentTimeMillis() + "");
        data.setTime(data.getId());
        data.setTitle("Title_" + data.getId() + "_" + Thread.currentThread().getId());
        data.setReadTimes("0");
        data.setUser("system");
        dataList.add(data);

        return dataList;
    }
}
